package com.donn.securitycontrolplatform.roletag.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 标签和角色关联表
 * </p>
 *
 * @author zhenglixiang
 * @since 2022-06-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TRoleTag对象", description="标签和角色关联表")
public class TRoleTag implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    @TableId(value = "role_id", type = IdType.AUTO)
    private Long roleId;

    @ApiModelProperty(value = "标签ID")
    private String tagId;

    @ApiModelProperty(value = "别名")
    private String aliseName;

    @ApiModelProperty(value = "是否显示标签 （ 0不显示 1显示）")
    private Boolean tagIdShowed;

    @ApiModelProperty(value = "是否别名 （ 0不显示 1显示）")
    private Boolean aliseNameShowed;


}
